home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / reve / trans / Makefile next >
Encoding:
Makefile  |  1995-05-03  |  2.0 KB  |  79 lines

  1.  
  2. #
  3. #  Makefore for transcript (print utility for reve).
  4. #
  5. #  @(#)Makefile 1.3 91/02/21
  6. #
  7. #  Copyright (C) 1991 - Valerie Haecky.
  8. #  All rights reserved.
  9. #
  10. #  Permission is granted to copy this source, for redistribution
  11. #  in source form only, provided the news headers in "substantially
  12. #  unaltered format" are retained, the introductory messages are not
  13. #  removed, and no monies are exchanged.
  14. #
  15. #  Permission is also granted to copy this source, without the
  16. #  news headers, for the purposes of making an executable copy by
  17. #  means of compilation, provided that such copy will not be used
  18. #  for the purposes of competition in any othello tournaments, without
  19. #  prior permission from the authors.
  20. #
  21. #  No responsibility is taken for any errors on inaccuracies inherent
  22. #  either to the comments or the code of this program, but if reported
  23. #  (see README file), then an attempt will be made to fix them.
  24. #
  25. # BINDIR, LIBDIR, MANDIR and PROLOGUE are expected to be overridden by the
  26. # calling Makefile
  27.  
  28. BINDIR          = /usr/local/games
  29. LIBDIR          = /usr/local/lib
  30. MANDIR          = /usr/man/manl
  31. PROLOGUE    = -DPROLOGUE=\"$(LIBDIR)\"
  32. #
  33. #  Compilation flags and standard macro definitions.
  34. #
  35. CFLAGS          = -O 
  36. CPPFLAGS    = $(PROLOGUE)
  37. #
  38. #==========================================================================
  39.  
  40. .KEEP_STATE:
  41.  
  42. CC              = cc
  43.  
  44. STDSRCS        = trans.c
  45. OTHERS          = README trans.man trans.man.text Makefile trans.ps
  46.  
  47.  
  48. all:        trans
  49.  
  50. trans:        trans.c trans.ps
  51.         cc $(CFLAGS) $(CPPFLAGS) trans.c -o trans
  52.  
  53. debug:         trans.c trans.ps
  54.         cc -g $(CPPFLAGS) trans.c -o trans
  55.  
  56. install:
  57.         -cp trans $(BINDIR)
  58.         -chmod 751 $(BINDIR)/trans
  59.         -strip $(BINDIR)/trans
  60.         -cp trans.ps $(LIBDIR)
  61.         -chmod 644 $(LIBDIR)/trans.ps
  62.  
  63. clean:         
  64.         rm -f *.o *.Z *.uu Part* $(BINARIES) core
  65.  
  66. lint:
  67.         lint $(STDSRCS)
  68.  
  69. shar:;          shar.script $(STDSRCS) $(OTHERS) > ../Part15
  70.  
  71. create:         SCCS
  72.         -sccs create $(STDSRCS) $(OTHERS)
  73.  
  74. SCCS:
  75.         mkdir SCCS
  76.         chmod 755 SCCS
  77.  
  78. trans.o:    trans.c 
  79.